const Service = require('egg').Service;

class NewsService extends Service {
  async index() {
    console.log('1234index-------------')
    const data = await this.app.mysql.get('user', { "userId": 0 })
    return data
  }
}

module.exports = NewsService;